<?php
// View for admin - forum
require_once WACT_ROOT.'controller/controller.inc.php';
require_once WACT_ROOT .'controller/form.inc.php';
require_once WACT_ROOT.'view/view.inc.php';
require_once WACT_ROOT .'view/formview.inc.php';

require_once APP_ROOT . 'view/common/layout.formview.php';
require_once APP_ROOT . 'view/common/layout.view.php';
require_once APP_ROOT . 'include/inc.config.php';
require_once APP_ROOT . "model/common/site.php";


class ForumView extends LayoutView {

    function ForumView($TemplateFile) {
    	//parent :: $IsAdminView = true;
        parent :: LayoutView($TemplateFile);
    }

    function prepare(&$controller, &$request, &$responseModel) {
    	parent::prepare($controller, $request, $responseModel);

         
		$this->Template->set('SITE_CSS',Site::getSiteTemplateCSS());
		$this->Template->set('SITE_BASE',Site::getSiteTemplateBase());
		$this->Template->set('SITE_TITLE',Site::getTitle());
		$this->Template->set('forum_url', HOST.'/'.Site::getForumURL());
        $this->Template->set('forum_admin_url', HOST.'/'.Site::getForumURL().'admin/');

	 

        return;

    }

}


?>